package com.sali.config;

import com.sali.netty.NettyClient;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @description:
 * @author: sali
 * @date: 2025/2/22 下午11:06.
 * @version: 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "netty-config")
@Data
public class NettyConfig {

    private String serverIp;

    private int serverPort;
}
